﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    [Serializable]
    public class NhaCungCap
    {
        public NhaCungCap(){ }
        private string hanhDong;
        private string maNhaCungCap;
        private string tenNhaCungCap;
        private string diaChi;
        private string dienThoai;
        private string email;
        private string website;
        private string fax;
        private string nguoiLienHe;
        private string maSoThue;
        private string noHienThoi;
        private string linkImage;
        private string linkImageRoot;
        private byte[] image;
        private System.Drawing.Image picture;
        private string ghiChu;
        private Boolean deleted;
        private string duNo;
        private Entities.ChiTietHangHoaNhaCungCap[] danhSachHangHoa;
        private Entities.TaiKhoan taiKhoan;

        public string HanhDong
        {
            get { return hanhDong; }
            set { hanhDong = value; }
        }
        public string MaNhaCungCap
        {
            get { return this.maNhaCungCap; }
            set
            {
                this.maNhaCungCap = value;
            }
        }
        public string TenNhaCungCap
        {
            get { return this.tenNhaCungCap; }
            set
            {
                this.tenNhaCungCap = value;
            }
        }
        public string DiaChi
        {
            get { return this.diaChi; }
            set { this.diaChi = value; }
        }
        public string DienThoai
        {
            get { return this.dienThoai; }
            set { this.dienThoai = value; }
        }
        public string Email
        {
            get { return this.email; }
            set { this.email = value; }
        }
        public string Website
        {
            get { return this.website; }
            set { this.website = value; }
        }
        public string Fax
        {
            get { return this.fax; }
            set { this.fax = value; }
        }
        public string NguoiLienHe
        {
            get { return this.nguoiLienHe; }
            set { this.nguoiLienHe = value; }
        }
        public string MaSoThue
        {
            get { return this.maSoThue; }
            set { this.maSoThue = value; }
        }
        public string NoHienThoi
        {
            get { return noHienThoi; }
            set { noHienThoi = value; }
        }
        public string LinkImage
        {
            get { return linkImage; }
            set { linkImage = value; }
        }
        public byte[] Image
        {
            get { return image; }
            set { image = value; }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public Boolean Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }

        public string DuNo
        {
            get { return this.duNo; }
            set { this.duNo = value; }
        }
        public Entities.TaiKhoan TaiKhoan
        {
            get { return this.taiKhoan; }
            set
            {
                this.taiKhoan = value;
            }
        }
        public Entities.ChiTietHangHoaNhaCungCap[] DanhSachHangHoa
        {
            get { return danhSachHangHoa; }
            set { danhSachHangHoa = value; }
        }
        public NhaCungCap(string Hanhdong, string maKH, string duNo)
        {
            this.hanhDong = Hanhdong;
            this.maNhaCungCap = maKH;
            this.TenNhaCungCap = duNo;
        }
        public string LinkImageRoot
        {
            get { return linkImageRoot; }
            set { linkImageRoot = value; }
        }
        public System.Drawing.Image Picture
        {
            get { return picture; }
            set { picture = value; }
        }
    }

}
